package Demo05.Demo09;

public class Demo05_Flower {
    private String color;
    private int price;

    public void showInfo() {

    }

    public Demo05_Flower() {
    }

    public Demo05_Flower(String color, int price) {
        this.color = color;
        this.price = price;
    }




    public String getColor() {
        return color;
    }


    public void setColor(String color) {
        this.color = color;
    }


    public int getPrice() {
        return price;
    }


    public void setPrice(int price) {
        this.price = price;
    }

    public String toString() {
        return "Demo01.Flower{color = " + color + ", price = " + price + "}";
    }
}
